package org.mysfit.ctp4j.infra.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;

/**
 * <p>
 * trade
 * </p>
 *
 * @author long.gf
 * @since 2022-12-05
 */
@TableName("trade_list")
@ApiModel(value = "TradeList对象", description = "trade")
public class TradeList extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String fid;

    private LocalDateTime ftime;

    private BigDecimal fp;

    private String tid;

    private String cid;

    private BigDecimal tkc;

    private BigDecimal tpc;

    private BigDecimal tyk;

    private Integer tqty;

    private Integer tfx;


    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public LocalDateTime getFtime() {
        return ftime;
    }

    public void setFtime(LocalDateTime ftime) {
        this.ftime = ftime;
    }

    public BigDecimal getFp() {
        return fp;
    }

    public void setFp(BigDecimal fp) {
        this.fp = fp;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public BigDecimal getTkc() {
        return tkc;
    }

    public void setTkc(BigDecimal tkc) {
        this.tkc = tkc;
    }

    public BigDecimal getTpc() {
        return tpc;
    }

    public void setTpc(BigDecimal tpc) {
        this.tpc = tpc;
    }

    public BigDecimal getTyk() {
        return tyk;
    }

    public void setTyk(BigDecimal tyk) {
        this.tyk = tyk;
    }

    public Integer getTqty() {
        return tqty;
    }

    public void setTqty(Integer tqty) {
        this.tqty = tqty;
    }

    public Integer getTfx() {
        return tfx;
    }

    public void setTfx(Integer tfx) {
        this.tfx = tfx;
    }

    @Override
    public String toString() {
        return "TradeList{" +
        "fid=" + fid +
        ", ftime=" + ftime +
        ", fp=" + fp +
        ", tid=" + tid +
        ", cid=" + cid +
        ", tkc=" + tkc +
        ", tpc=" + tpc +
        ", tyk=" + tyk +
        ", tqty=" + tqty +
        ", tfx=" + tfx +
        "}";
    }
}
